public enum MapType extends Enum<MapType>
Enum Constant and Description |
---|
DEFAULT
Default map.
|
PRIORITY_MAX
Optimized for finding maximum value of map
|
PRIORITY_MIN
Optimized for finding minimum value of map
|
Modifier and Type | Method and Description |
---|---|
static MapType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MapType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final MapType DEFAULT
public static final MapType PRIORITY_MAX
public static final MapType PRIORITY_MIN
public static MapType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static MapType[] values()
for (MapType c : MapType.values()) System.out.println(c);
Copyright © 2015. All rights reserved.